package cn.tedu.hospital.management.dao.persist.mapper;

import cn.tedu.hospital.management.pojo.entity.Type;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TypeMapper extends BaseMapper<Type> {
    List<Type> getAllType();
    Long typeIdByName(String typeName);
}
